//
//  Primer_CustomView.swift
//  APSwift
//
//  Created by jianbo.pei on 2023/3/22.
//

import UIKit

class Primer_CustomView: UIView {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    required init(bgColor: UIColor) {
        super.init(frame: .zero)
        backgroundColor = bgColor
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
//    convenience init(backColor: UIColor) {
//        self.init(bgColor: backColor)
//    }
}
